<template>
  <div>
    <el-input
      placeholder="请输入关键字"
      v-model="input3"
      class="input-with-select"
    >
      <el-select v-model="select" slot="prepend" placeholder="请选择类别">
        <el-option label="车型名称" value="1"></el-option>
        <el-option label="车型分类" value="2"></el-option>
        <el-option label="容纳人数" value="3"></el-option>
        <el-option label="燃料" value="3"></el-option>
      </el-select>
      <el-button slot="append" icon="el-icon-search">查询</el-button>
    </el-input>
  </div>
</template>

<script>
export default {
  name: "ListSelect",

  data() {
    return {
      
     
    };
  },
};
</script>

<style>

</style>

<style scoped>
div {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 300px;
}
.el-input {
  width: 600px;
}
.el-select {
  width: 130px;
}
</style>
